wayland: Don't save size when tiled
authorMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 00:15:33 +0000 (20:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 00:15:33 +0000 (20:15 -0400)
commite5cd2568c8072caad0e6b974ffd6d080462ad218
tree14da3ec4e475f85cd5bb4808de8b7fe9e4621e2b
parentd51608a2c9fbab4b9e82b851130fa050c91a5a45
wayland: Don't save size when tiled

Don't remember the surface size when we are in tiled
state either. This matches the 'fixed_size' condition
in gdk_wayland_surface_configure_toplevel.

This change fixes an issue where moving a window first
to tiled, then to maximized state and back would lead
to the unmaximized window having the tiled dimensions.
gdk/wayland/gdksurface-wayland.c